<template>
    <div class="header-line">
        <div class="nav-box left-nav">
            <a class="nav-item active" href="#/car-manage">车辆管理</a>
            <a class="nav-item" href="#/staff-manage">人员管理</a>
            <a class="nav-item" href="#/toilet-manage">公厕管理</a>
        </div>
        <div class="title">环卫可视化平台</div>
        <div class="nav-box right-nav">
            <a class="nav-item" href="#/transfer-manage">转运站管理</a>
            <a class="nav-item" href="#/renewable-manage">可再生资源</a>
            <div class="nav-item">项目管理</div>
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {}
    },
    methods: {}
}
</script>

<style lang="less" scoped>
.header-line {
    width: 100%;
    height: 77px;
    background: url('../assets/images/header-bg.png') repeat center;
    background-size: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    .title {
        width: 510px;
        line-height: 70px;
        font-size: 40px;
        text-align: center;
        color: #fff;
    }
    .nav-box {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin: 0 35px;
        margin-top: 30px;
        .nav-item {
            width: 184px;
            height: 48px;
            font-size: 24px;
            color: #fff;
            line-height: 48px;
            cursor: pointer;
        }
    }
    .nav-box.left-nav {
        .nav-item {
            background: url('../assets/images/nav-bg-left.png');
            background-size: 100%;
            margin-right: -5px;
        }
        .nav-item.active {
            background: url('../assets/images/nav-bg-left-act.png');
            background-size: 100%;
        }
    }
    .nav-box.right-nav {
        .nav-item {
            background: url('../assets/images/nav-bg-right.png');
            background-size: 100%;
            margin-left: -5px;
        }
        .nav-item.active {
            background: url('../assets/images/nav-bg-right-act.png');
            background-size: 100%;
        }
    }
}
</style>
